<table class="el-year-table">
    <tbody>
        <tr *ngFor="let years of yearRows">
            <td class="available" *ngFor="let year of years" [class.current]="year === currentYear"
                (click)="clickHandle(year)"> <a class="cell">{{year}}</a> </td>
        </tr>
    </tbody>
</table>